{% extends "usercenter_base.html" %}
{% load staticfiles %}
{% block title %}个人信息-我的英雄学院{% endblock %}
{% block custom_bread %}
    <section>
        <div class="wp">
            <ul  class="crumbs">
                <li><a href="{% url 'index' %}">首页</a>></li>
                <li><a href="{% url 'users:user_info' %}">个人中心</a>></li>
                <li>我的课程</li>
            </ul>
        </div>
    </section>
{% endblock %}
{% block right_content %}
<div class="right" >
    <div class="personal_des Releasecont">
        <div class="head">
            <h1>我的课程</h1>
        </div>
    </div>
    <div class="personal_des permessage">
        <div class="companycenter">
            <div class="group_list brief">
                {% for row in user_course %}
                <div class="module1_5 box">
                        <a href="{% url 'course:course_detail' row.course.id %}">
                            <img width="214" height="190" class="scrollLoading" src="{{MEDIA_URL}}{{row.course.image}}"/>
                        </a>
                        <div class="des">
                            <a href="{% url 'course:course_detail' row.course.id %}"><h2>{{row.course.name}}</h2></a>
                            <span class="fl">课时：<i class="key">{{row.course.learn_times}}</i></span>
                            <span class="fr">学习人数：{{row.course.students}}</span>
                        </div>
                        <div class="bottom">
                            <span class="fl">{{row.course.course_org.name}}</span>
                            <span class="star fr  notlogin" data-favid="15">{{row.course.fav_nums}}</span>
                        </div>
                    </div>
                {% endfor %}
                
                

            </div>
        </div>
    </div>
</div>

{% endblock %}
